package com.wangyk.thymeleafproject.service.impl;

import com.wangyk.rabbitmqcommon.model.project.Category;
import com.wangyk.thymeleafproject.dao.CategoryMapper;
import com.wangyk.thymeleafproject.service.CategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CategoryServiceImpl implements CategoryService
{
    @Resource
    private CategoryMapper categoryMapper;

    public Category selectByPrimaryKey(Integer categoryId)
    {
        Category category = categoryMapper.selectByPrimaryKey(categoryId);
        return category;
    }
}
